/**
 * Created by xiaolinzhang on 2016/11/1.
 */


const bookshelf = require('../dao/baseDao')();
var channelmgmt = require('./channelmgmt');

var Userops = bookshelf.Model.extend({
    tableName: 'in_user_ops',
    idAttribute: 'ops_id',
    in_channelmgmt:function () {
        return this.belongsTo(channelmgmt,'channel_id');
    }
});


module.exports = Userops;